package com.sdry.mapper.jyy;

import com.sdry.model.hpf.Product;
import com.sdry.model.jyy.Cut;
import com.sdry.model.jyy.CutExample;
import com.sdry.model.zc.ZcTrolleyBindingEntity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CutMapper {
    int countByExample(CutExample example);

    int deleteByExample(CutExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Cut record);

    int insertSelective(Cut record);

    List<Cut> selectByExample(CutExample example);

    Cut selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Cut record, @Param("example") CutExample example);

    int updateByExample(@Param("record") Cut record, @Param("example") CutExample example);

    int updateByPrimaryKeySelective(Cut record);

    int updateByPrimaryKey(Cut record);

	Product selsectPro(String pnum);

	int selectActualNum(Cut cut);

	void editcremark6(String code);

	int selecTrolley(String trolleyNumber);

	int updatEnd(Long id);

	int selectYearNum(Cut cut);

	ZcTrolleyBindingEntity selectBudingByCode(String ctube);

	int countFgByCode(String ctube);
}